package com.lagou.springsessiontest;

import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zhangxuyuan
 * @version 1.0
 * @date 2020/11/14
 */
public interface UserRepository extends JpaRepository<User,String> {

    User findByNameAndPassword(String name,String password);
}
